<template>
    <view>
        <image src="/static/dingbu.png" class="mine-navbar-bg" :style="{ height: navbarHeight + 'rpx' }" mode="aspectFill"></image>
        <u-navbar title="检验判定标准添加" :autoBack="true" leftIconColor="#fff" bgColor="transparent"
            :titleStyle="{ color: '#fff' }" safeAreaInsetTop placeholder></u-navbar>
        <view class="w-710 mt-20 bgff br-20 ml-20 pl-32 pr-32">
            <view class="rowsb rowsm h-100 bor-b" @tap="showEduPicker = true">
                <view>产品名称</view>
                <view class="trt fs-28 col999 rowsc rowsm" v-if="!formData.edu">请选择
                    <u-icon name="arrow-right" size="17" color="#999" style="vertical-align: top;"></u-icon>
                </view>
                <view class="trt fs-28" v-else>{{ formData.name }}</view>
            </view>
            <view class="rowsb rowsm h-104" style="border-bottom: 2rpx solid #f1f1f1;">
                <view>检测项目</view>
                <input class="trt fs-28" placeholder="请输入检测项目" v-model="formData.project" />
            </view>
        </view>
        <view class="w-710 mt-20 bgff pl-32 pr-32 br-20 mgt rowsc rowsm">
            <view @tap="add()" class="w-300 h-88 br-16 fixed rowsc rowsm fs-36 colfff bg"
                style="bottom: 68rpx;left: 60rpx;">
                新增
            </view>
            <view @tap="submit()" class="w-300 h-88 br-16 fixed rowsc rowsm fs-36 colfff bg"
                style="bottom: 68rpx;right: 60rpx;">
                提交
            </view>
        </view>
    </view>
</template>

<script>
import navbarMixin from '@/common/navbarMixin'
export default {
	mixins: [navbarMixin],
    data() {
        return {
            formData: {
                name: '',
                project: '',
            }
        }
    },
    methods: {
        add() {
            uni.navigateTo({
                url: '/pages/workbench/01task/014editadd'
            })
        },
        submit() {
        }
    }
}
</script>

<style>
.mine-navbar-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    
}
</style>
